home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
dev
/
gcc
/
ixemulsdk.lha
/
man
/
cat3
/
memchr.0
< prev
next >
Wrap
Text File
|
1992-08-10
|
1KB
|
67 lines
MEMCHR(3) UNIX Programmer's Manual MEMCHR(3)
NNAAMMEE
mmeemmcchhrr - locate byte in byte string
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttrriinngg..hh>>
_v_o_i_d _*
mmeemmcchhrr(_c_o_n_s_t _v_o_i_d _*_b, _i_n_t _c, _s_i_z_e___t _l_e_n)
DDEESSCCRRIIPPTTIIOONN
The mmeemmcchhrr() function locates the first occurrence of _c (converted to an
unsigned char) in string _b.
RREETTUURRNN VVAALLUUEESS
The mmeemmcchhrr() function returns a pointer to the byte located, or NULL if
no such byte exists within _l_e_n bytes.
SSEEEE AALLSSOO
index(3), rindex(3), strchr(3), strcspn(3), strpbrk(3), strrchr(3),
strsep(3), strspn(3), strstr(3), strtok(3)
SSTTAANNDDAARRDDSS
The mmeemmcchhrr() function conforms to ANSI C3.159¡1989 (``ANSI C'').
BSD Experimental June 29, 1991 1